package com.kun.mall.order.feign;

import com.kun.mall.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

/**
 * @author fangkun
 * @create 2023-03-24-15:37
 */
@FeignClient("mall-cart")
public interface CartFeignService {

    @GetMapping(value = "/currentUserCartItems")
    @ResponseBody
    List<OrderItemVo> getCurrentCartItems();

}
